Add HARMONICA.md — persistent org context for AI facilitator#44
Open
Add HARMONICA.md — persistent org context for AI facilitator#44
Conversation
Add conversational AI onboarding that generates a HARMONICA.md document with 8 sections (About, Goals, Participants, Vocabulary, Prior Decisions, Facilitation Preferences, Constraints, Success Patterns). Includes: - DB migration (036) adding harmonica_md column to users table - Onboarding chat API route with LLM-powered questionnaire - OnboardingChat component (chatting → reviewing → saved flow) - Settings editor tab with collapsible section cards - Dashboard integration showing onboarding for new users - Runtime injection into facilitation prompts via session owner lookup Addresses HAR-16, HAR-17, HAR-18. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
upsertUser() was setting name from Auth0 on every login, reverting any name the user had manually saved in Settings. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The top-right user button was reading from Auth0's session (which returns the identity provider name/email), not the user-editable display name saved in the database. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Embedding the full chat widget in the welcome banner was cramped and confusing. Now shows a clean prompt with a button that opens the onboarding chat in a proper dialog. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Frosted glass card (white/60 + backdrop-blur) with amber border that blends into the welcome banner gradient. Staggered entrance animation for context hints (team, goals, preferences). Opens chat in dialog. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
router.push('/api/auth/logout') fails because Next.js client router
can't handle API routes that return HTTP redirects. Use full page
navigation instead.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…nner The auto-generated "Default" key was never shown to the user (raw key hashed and discarded), making it impossible to use. Replaced with a banner that creates a key on click and reveals the claude mcp install command inline with copy button. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Shows the claude mcp add-json command template with placeholder below the keys table, always visible. Users no longer need to create a new key just to see the install command format. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The deleteUserAccount action was failing silently because api_keys and session_ratings rows referencing the user weren't deleted before the user record, likely hitting FK constraints. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Both the onboarding skip and connect-AI-tools dismiss flags were stored with a fixed key, so skipping on one account would hide the banners for all accounts in the same browser. Now keyed by Auth0 user sub. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The initial LLM call with empty messages was failing (500) because Anthropic requires at least one user message. Replaced with a hardcoded greeting for instant response. Also fixed the logo aspect ratio — image is 128x55, was forced to w-7 h-7 (square). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The CTA card already has a skip button, and the dialog has a close X. Only show skip in standalone (non-embedded) mode. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Block click-outside and Escape key from closing the dialog to prevent losing in-progress onboarding chat. User can still close via the X button intentionally. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
All references to oldspeak.notion.site (Help Center, Privacy Policy, Beginners Guide) now point to the Mintlify docs site. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add 7 custom events across signup-to-completion funnel to enable native PostHog Funnels: user_signed_up, onboarding_completed, onboarding_skipped, session_created, session_shared, participant_joined, session_completed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace bare window.confirm() dialogs with an AlertDialog requiring users to type "DELETE" before the button activates. Set a sessionStorage flag during deletion to prevent InvitationProcessor from re-creating the user via syncCurrentUser() during the feedback delay before logout. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Auth0's default logout only clears the Auth0 session but doesn't notify identity providers. Adding federated logout tells Google/GitHub to forget the account selection, so users see the account picker on next sign-in. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
harmonica_mdTEXT column touserstable/api/onboarding/chat): LLM asks 3-4 questions, outputs<HARMONICA_MD>blockAddresses HAR-16, HAR-17, HAR-18.
Test plan
npm run migrateor direct SQL via Neon)🤖 Generated with Claude Code